﻿using System;
using System.Collections.Generic;

namespace ZH.Infrastructure.EFCore.MySql;

public partial class Product
{
    /// <summary>
    /// product
    /// </summary>
    public string Pid { get; set; } = null!;

    /// <summary>
    /// 产品名
    /// </summary>
    public string? Pname { get; set; }

    /// <summary>
    /// 产品封面
    /// </summary>
    public string? Pcover { get; set; }

    /// <summary>
    /// 产品规格
    /// </summary>
    public string? Pspecs { get; set; }

    /// <summary>
    /// 产品价格
    /// </summary>
    public decimal? Price { get; set; }

    /// <summary>
    /// 产品类型
    /// </summary>
    public string? Ptype { get; set; }

    /// <summary>
    /// 是否禁用
    /// </summary>
    public int? PisBan { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? Pcreationtime { get; set; }

    /// <summary>
    /// 产品介绍
    /// </summary>
    public string? PDetails { get; set; }

    /// <summary>
    /// 库存
    /// </summary>
    public int? Inventory { get; set; }

    /// <summary>
    /// 库存预警
    /// </summary>
    public int? Earlywarning { get; set; }
}
